package day03;
//本类是用来测试字符串拼接符的演示demo
public class Test07 {
    public static void main(String[] args) {
        String name = "林涛";
        int age =18;
        System.out.println( "大家好我叫"+name+",我的年龄是"+age+"岁");
        System.out.println(age + 10);//28

        System.out.println(10 + 10 + "" + 30);//2030
        System.out.println("" + 10 + 10 + 30);//101030
        System.out.println(10 + 10 + 30 + "");//50
    }
}
